package org.example.service.impl;

import org.example.entity.SysGoods;
import org.example.mapper.SysGoodsMapper;
import org.example.service.ISysGoodsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhaowenting
 * @since 2024-04-02
 */
@Service
public class SysGoodsServiceImpl extends ServiceImpl<SysGoodsMapper, SysGoods> implements ISysGoodsService {

    @Override
    public List<SysGoods> listAll() {
        return baseMapper.listAll();
    }

    @Override
    public List<SysGoods> goodsList() {
        return baseMapper.goodsList();
    }
}
